<?php
	session_start();

	$username=$_SESSION['username'];

	if($username)
	{
		//echo "you are login";
		//echo "welcome $username";
	}
	else
	{
		echo "you are not logged in";
	}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!--
Design by CGWORLD.ASIA

http://cgworld.asia

Name       : Wellness  
Description: A two-column, fixed-width design with dark color scheme.
Version    : 1.0
Released   : 20100110

-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="keywords" content="" />
<meta name="description" content="" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Wellness   by Free CSS Templates</title>
<link rel="shortcut icon"href="http://www.cgworld.asia/favicon.ico"type="image/x-icon">
<link rel="icon"href="http://www.cgworld.asia/favicon.ico"type="image/x-icon">
<link href="../style.css" rel="stylesheet" type="text/css" media="screen" />
<link href="SpryAssets/SpryValidationTextField.css" rel="stylesheet" type="text/css" />
<script src="SpryAssets/SpryValidationTextField.js" type="text/javascript"></script>
</head>
<body>
<div id="wrapper">
	<div id="header-wrapper">
	<div id="header">
		<div id="logo">
			<h1><font color="#FFFFFF">ALMAS </font></h1>
			<p> design by <a href="http://www.iust.ac.ir/">IUST students</a></p>
		</div>
	</div>
	</div>
	<!-- end #header -->
	<div id="page">
	<div id="page-bgtop">
	
	<div id="page-bgbtm">
	
		<div id="content">
		
			
				
				<h2><font size="+1"> Complete The Form To Create Account</font></h2>
	
                    
					<form name="createpbi"  method="POST" action="inserted_page.php">
					<table width ='500'>
					<tr>
						
							
						
							<td align='right'>  username :</td>
							
                            <td align='left'><span id="sprytextfield1">
                            <input name='username' type="text" />
                            <span class="textfieldRequiredMsg">A value is required.</span><span class="textfieldMaxCharsMsg">Exceeded maximum number of characters.</span></span></td>
                      
						
					</tr>
                            
                      
						
					</tr>
					<tr>
						
							<td align='right'>  password :</td>
							
                            <td align='left'><span id="sprytextfield2">
                            <input name='password' type="password" />
                            <span class="textfieldRequiredMsg">A value is required.</span><span class="textfieldMaxCharsMsg">Exceeded maximum number of characters.</span></span></td>
                      
						
					</tr>
					<tr>
						
							<td align='right'>  retypepassword :</td>
							
                            <td align='left'><span id="sprytextfield3">
                            <input name='retypepassword' type="password" />
                            <span class="textfieldRequiredMsg">A value is required.</span><span class="textfieldMaxCharsMsg">Exceeded maximum number of characters.</span></span></td>
                      
						
					</tr>
					<tr>
						
							<td align='right'>  fullname :</td>
							
                            <td align='left'><span id="sprytextfield4">
                            <input name='fullname' type="text" />
                            <span class="textfieldRequiredMsg">A value is required.</span><span class="textfieldMaxCharsMsg">Exceeded maximum number of characters.</span></span></td>
                      
						
					</tr>
					<tr>
						
							<td align='right'>  email :</td>
							
                            <td align='left'><span id="sprytextfield5">
                            <input name='email' type="text" />
                            <span class="textfieldRequiredMsg">A value is required.</span><span class="textfieldInvalidFormatMsg">Invalid format.</span></span></td>
                      
						
					</tr>
					<tr>
						
							<td align='right'>  phonenumber :</td>
							
                            <td align='left'><span id="sprytextfield6">
                            <input name='phonenumber' type="text" />
                            <span class="textfieldRequiredMsg">A value is required.</span><span class="textfieldMaxCharsMsg">Exceeded maximum number of characters.</span></span></td>
                      
						
					</tr>
					<tr>
						
							<td align='right'>  </td>
							
                            <td align='left'><input name='button' type="submit" value="create"></td>
                      
						
					</tr>
					
				</table>
					
					
			
	
			
			
	
	  </div>
		<!-- end #content -->
		<div id="sidebar">
			<ul>
				
				
				<li>
					<h2>Categories</h2>
					<ul>
						<li><a href="create_account.php">create profile</a></li>
						<li><a href="logout.php">log out</a></li>
                        <li><a href="#">You : <?php echo $username; ?></a></li>
						
					</ul>
				</li>
				
			</ul>
		</div>
		<!-- end #sidebar -->
		<div style="clear: both;">&nbsp;</div>
	</div>
	</div>
</div>
	<!-- end #page -->
</div>
<div id="footer">
		<p>buttom of the page </p>
</div>
<script type="text/javascript">
var sprytextfield1 = new Spry.Widget.ValidationTextField("sprytextfield1", "none", {maxChars:50});
var sprytextfield2 = new Spry.Widget.ValidationTextField("sprytextfield2", "none", {maxChars:50});
var sprytextfield3 = new Spry.Widget.ValidationTextField("sprytextfield3", "none", {maxChars:50});
var sprytextfield4 = new Spry.Widget.ValidationTextField("sprytextfield4", "none", {maxChars:50});
var sprytextfield5 = new Spry.Widget.ValidationTextField("sprytextfield5", "email");
var sprytextfield6 = new Spry.Widget.ValidationTextField("sprytextfield6", "none", {maxChars:50});
</script>
</body>
</html>
